<div id="actu" align="center">
    <?php foreach ($card_vip as $vip): ?>
        <div id="titre_menu" align="center"> <?php echo $vip['title'] ?> </div>
    <?php
        $image_card = './../seatting-falin/assets/text_img/images/' . $vip['image'];
        if (file_exists($image_card) && $vip['image'] != null) {
            $image_card = root_url('animus') . 'seatting-falin/assets/text_img/images/' . $vip['image'];
        } else {
            $image_card = root_url('animus') . 'assets/noimage.gif';
        }
    ?>
        <div id="fidelite" align="left"><img  src="<?php echo $image_card ?>" width="100px" border="0"/>
            <p align="left" id="text">
            <?php echo get_short_description($vip['content'], 10) ?>
        </p>
    </div>
    <?php endforeach; ?>
            <p align="left">
                <a href="<?php echo site_url('animus_home/detail_card_vip') ?>" style="color:#5d94c5;">Lire la suite >></a>
            </p><!--END CARTE FIDÉLITÉ-->
        </div>

        <div id="annonce_action" align="center"> ANNONCE ACTION </div>
        <div id="action_field" align="left">
            <ul>
                <li><a href="<?php echo site_url('annonce/add_new_annonce'); ?>">ADD ANNONCE</a></li>
            </ul>
        </div>


        <div id="actu" align="center">
            <div id="titre_menu" align="center">ANNONCE	</div>
    <?php foreach ($premium_annonces as $aRows) : ?>
    <?php
                $image_path = "./assets/annonce/thumbs/" . $aRows['images'];
                if ($aRows['images'] != '') {
                    if (file_exists($image_path)) {
                        $image_path = base_url() . "assets/annonce/thumbs/" . $aRows['images'];
                    } else {
                        $image_path = root_url('animus') . "assets/noimage.gif";
                    }
                } else {
                    $image_path = root_url('animus') . "assets/noimage.gif";
                }
    ?>

            <div id="titre_text1" align="center"><a style="font-size: medium" href="<?php echo site_url('animus_home/annonce_details/' . $aRows['id']) ?>"><?php echo $aRows['title']; ?></a></div>
                <div id="titre_text1" align="left"><a href="<?php echo site_url('annonce/detail_annonce/' . $aRows['id']) ?>"><?php echo $aRows['username']; ?></a></div>
                <div id="titre_text1" align="center"><a href="<?php echo site_url('annonce/detail_annonce/' . $aRows['id']) ?>"><img src="<?php echo $image_path; ?>" border="0" width="120px"/></a></div>
                <div id="text" align="center"><?php echo get_short_description($aRows['description'],10); ?><a href="<?php echo site_url('annonce/detail_annonce/' . $aRows['id']); ?>" style="color:#5d94c5"> ...Lire la suite </a></div>
                <?php endforeach; ?>
                <div id="titre_link" align="left"><a href="<?php echo site_url('annonce/list_annonce'); ?>" style="color:#5d94c5; font-size:1.2em;">Plus Annonce >>> </a></div>
</div><!--END ANNONCE-->

</div><!--END ACTU-->